import Vue from 'vue'
import App from './App'

import websocket from './tools/websocket.js'

Vue.config.productionTip = false
Vue.prototype.$socketTask = websocket

import YcolorBlock from './components/YcolorBlock/YcolorBlock.vue'
Vue.component('YcolorBlock',YcolorBlock)

import Ydialog from './components/Ydialog/Ydialog.vue'
Vue.component('Ydialog',Ydialog)

import Yselector from './components/Yselector/Yselector.vue'
Vue.component('Yselector',Yselector)

import Ybtns from './components/Ybtns/Ybtns.vue'
Vue.component('Ybtns',Ybtns)

import YinfoList from './components/YinfoList/YinfoList.vue'
Vue.component('YinfoList',YinfoList)

import Ytitle from './components/Ytitle/Ytitle.vue'
Vue.component('Ytitle',Ytitle)

import YinputList from './components/YinputList/YinputList.vue'
Vue.component('YinputList',YinputList)

import YtabBtns from './components/YtabBtns/YtabBtns.vue'
Vue.component('YtabBtns',YtabBtns)

import Ywatermark from './components/Ywatermark/Ywatermark.vue'
Vue.component('Ywatermark',Ywatermark)

console.log('Vue',new Vue())

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
